package site.teamo.biu.net.common.web.constant;

import site.teamo.biu.tool.core.exception.BiuResponseCode;

/**
 * @author haocongshun
 * @date 2023/02/22 11:22:07
 */
public final class ResponseCode {

    private ResponseCode() throws IllegalAccessException {
        throw new IllegalAccessException("不支持实例化");
    }

    public static final BiuResponseCode AUTHENTICATION_FAILED_ERROR = new BiuResponseCode(-1, "认证错误或过期");

    public static final BiuResponseCode PARAMETER_ERROR = new BiuResponseCode(1, "参数错误");

    public static final BiuResponseCode BUSINESS_ERROR = new BiuResponseCode(2, "通用业务错误");

    public static final BiuResponseCode USERNAME_OR_PASSWORD_ERROR = new BiuResponseCode(1000, "用户名或密码错误");
    public static final BiuResponseCode CAPTCHA_ERROR = new BiuResponseCode(1000, "验证码错误");

}
